﻿#Region "Using Directives"
Imports System
Imports System.Collections.Generic
Imports System.Text
#End Region

Namespace C4F.DevKit.Bluetooth
    Namespace ServiceAndDeviceDiscovery

        ''' <summary>
        ''' Represents the operations that can be performed by a call 
        ''' to WSASetService.
        ''' </summary>
        Public Enum WsaSetServiceOp

            ''' <summary>
            ''' Registers the service.
            ''' </summary>
            Register = 0

            ''' <summary>
            ''' Unregisters the service.
            ''' </summary>
            DeRegister

            ''' <summary>
            ''' Deletes the service.
            ''' </summary>
            Delete

        End Enum

        ''' <summary>
        ''' Represents the specific data type of the value returned in a call 
        ''' to BluetoothSdpGetElementData.
        ''' </summary>
        Public Enum SdpSpecificType

            ''' <summary>
            ''' Represents No type.
            ''' </summary>
            SdpStNone = 0

            ''' <summary>
            ''' Represents a byte datatype.
            ''' </summary>
            SdpStUint8 = 16

            ''' <summary>
            ''' Represents ushort datatype.
            ''' </summary>
            SdpStUint16 = 272

            ''' <summary>
            ''' Represents uint datatype.
            ''' </summary>
            SdpStUint32 = 528

            ''' <summary>
            ''' Represents ulong datatype.
            ''' </summary>
            SdpStUnit64 = 784

            ''' <summary>
            ''' Represents SdpUlargeInteger16 type.
            ''' </summary>
            SdpStUint128 = 1040

            ''' <summary>
            ''' Represents sbyte datatype.
            ''' </summary>
            SdpStInt8 = 32

            ''' <summary>
            ''' Represents short datatype.
            ''' </summary>
            SdpStInt16 = 288

            ''' <summary>
            ''' Represents int datatype.
            ''' </summary>
            SdpStInt32 = 544

            ''' <summary>
            ''' Represents long datatype.
            ''' </summary>
            SdpStInt64 = 800

            ''' <summary>
            ''' Represents SdpLargeInteger16 type.
            ''' </summary>
            SdpStInt128 = 1056

            ''' <summary>
            ''' Represents ushort datatype.
            ''' </summary>
            SdpStUuid16 = 304

            ''' <summary>
            ''' Represents uint datatype.
            ''' </summary>
            SdpStUuid32 = 544

            ''' <summary>
            ''' Represents Guid datatype.
            ''' </summary>
            SdpStUuid128 = 1072

        End Enum

        ''' <summary>
        ''' Enumeration for SdpType.
        ''' </summary>
        Public Enum SdpType

            ''' <summary>
            ''' Represents No type.
            ''' </summary>
            SdpTypeNil = 0

            ''' <summary>
            ''' Represents Uint type.
            ''' </summary>
            SdpTypeUint = 1

            ''' <summary>
            ''' Represents int type.
            ''' </summary>
            SdpTypeInt = 2

            ''' <summary>
            ''' Represents Uuid type.
            ''' </summary>
            SdpTypeUuid = 3

            ''' <summary>
            ''' Represents String type.
            ''' </summary>
            SdpTypeString = 4

            ''' <summary>
            ''' Represents Boolean type.
            ''' </summary>
            SdpTypeBoolean = 5

            ''' <summary>
            ''' Represents Sequence type.
            ''' </summary>
            SdpTypeSequence = 6

            ''' <summary>
            ''' Represents Alternative type.
            ''' </summary>
            SdpTypeAlternative = 7

            ''' <summary>
            ''' Represents Url type.
            ''' </summary>
            SdpTypeUrl = 8

            ''' <summary>
            ''' Represents Container type.
            ''' </summary>
            SdpTypeContainer = 32

        End Enum

        ''' <summary>
        ''' Represents the data type of the service id.
        ''' </summary>
        Public Enum ServiceIdType

            ''' <summary>
            ''' Represents No type.
            ''' </summary>
            TypeNil = 0

            ''' <summary>
            ''' Represents ushort type.
            ''' </summary>
            TypeUint16 = 1

            ''' <summary>
            ''' Represents uint type.
            ''' </summary>
            TypeUint32 = 2

            ''' <summary>
            ''' Represents Uuid type.
            ''' </summary>
            TypeUuid = 3

        End Enum
    End Namespace
End Namespace